package com.foreknow.example;

/**
 * 订单项
 * 
 * @author ttc
 *
 */
public class OrderItem {
	private String pname;
	private double price;
	private int num;
	
	public OrderItem(String pname,double price,int num) {
		this.pname = pname;
		this.price = price;
		this.num = num;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}
}
